package com.smedi.ismedi.inmail.core.infrastructure.constant;

import com.smedi.ismedi.web.starter.exception.BasicError;
import com.smedi.ismedi.web.starter.exception.ErrorItem;

/**
 * 通知公告错误消息提示
 *
 * @author jiangqinxuan
 * @date 2021/07/27
 */
public class AnnouncementError extends BasicError {
    public static final ErrorItem ORGANIZATION_NAME_MISS = new ErrorItem(11, "主体院名称丢失");

    public static final ErrorItem START_DATE_MISS = new ErrorItem(12, "查询起始时间丢失");

    public static final ErrorItem END_DATE_MISS = new ErrorItem(13, "查询终止时间丢失");

    public static final ErrorItem INVALID_PERMISSION_MISS = new ErrorItem(14, "没有失效操作权限");

    public static final ErrorItem ATTACHMENT_NAME_MISS = new ErrorItem(15, "附件名称丢失");

    public static final ErrorItem ATTACHMENT_EXTENSION_MISS = new ErrorItem(16, "附件后缀名丢失");

    public static final ErrorItem ATTACHMENT_INFO_INCOMPLETE = new ErrorItem(17, "附件信息不完整");

    public static final ErrorItem PROJECT_NAME_MISS = new ErrorItem(18, "项目名称丢失");

    public static final ErrorItem CURRENT_USER_DISABLE = new ErrorItem(21, "当前用户无权查看");

    public static final ErrorItem TIME_QUANTUM_MISS = new ErrorItem(22, "开始时间晚于结束时间");

    public static final ErrorItem ATTACHMENT_INFO_MISS = new ErrorItem(23, "附件信息不存在");

    public static final ErrorItem RESPONSIBLE_ORGANIZATION_MISS = new ErrorItem(24, "主体院负责人没有所属单位");

    public static final ErrorItem RESPONSIBLE_PROJECT_MISS = new ErrorItem(25, "项目负责人没有所属项目");

    public static final ErrorItem INTERNAL_INFO_MISS = new ErrorItem(25, "是否限内部属性丢失");

    public static final ErrorItem PROJECT_NO_PERSON = new ErrorItem(25, "所选项目没有所属人员");

    public static final ErrorItem NOT_EXISTS_PUBLISHED_ATTACHMENT = new ErrorItem(26, "未找到已发布的通知公告附件信息");
}
